.diff-file{
  .diff-line{
    line-height: 20px;
  }
  .diff-line td{
    vertical-align: initial;
  }
  .diff-line-num{
    width: 1%;
    min-width: 36px;
    font-size: 12px;
    margin: 0;
    text-align: right;
    padding: 0 5px;
    color: #999;
    white-space: nowrap;
  }
  .diff-line-code{
    padding: 3px 3px 3px 32px;
    font-family: Consolas,Courier,monospace;
    position: relative;
    white-space: pre-wrap;
    word-break: break-word;
  }
  .diff-add .diff-line-num{
    background-color: #d6fedb;
  }
  .diff-delete .diff-line-num{
    background-color: #fadde0;
  }
  .diff-expand .diff-line-double-num{
    width: 1%;
    min-width: 72px;
    text-align: center;
    cursor: pointer;
    background-color: #d8ecff;
    white-space: nowrap;
  }
  .diff-expand .diff-line-code{
    background-color: #f1f8ff;
    color: var(--tiklab-gray-500);
  }
  .diff-add .diff-line-code{
    background-color: #e6ffed;
    &:before{
      content: '+';
      position: absolute;
      left: 0.5em
    }
  }
  .diff-delete .diff-line-code{
    background-color: #feedf0;
    &:before{
      content: '-';
      position: absolute;
      left: 0.5em
    }
  }
  .diff-expand-normal{
    .diff-line-num,.diff-line-code{
      background-color: #f7f7f7;
    }
  }
}
